﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace _2112A_2_MES._sujiahao
{
    /// <summary>
    /// 设备维修单
    /// </summary>
    public class DvRepair : Entity<int>
    {

            /// <summary>
            /// 维修单编码
            /// 最大长度：64
            /// </summary>
            public string? RepairCode { get; set; }

            /// <summary>
            /// 维修单名称
            /// 最大长度：255
            /// </summary>
            public string? RepairName { get; set; }

            /// <summary>
            /// 设备ID
            /// </summary>
            public int? MachineryId { get; set; }

            /// <summary>
            /// 设备编码
            /// 最大长度：64
            /// </summary>
            public string? MachineryCode { get; set; }

            /// <summary>
            /// 设备名称
            /// 最大长度：255
            /// </summary>
            public string? MachineryName { get; set; }

            /// <summary>
            /// 品牌
            /// 最大长度：255
            /// </summary>
            public string? MachineryBrand { get; set; }

            /// <summary>
            /// 规格型号
            /// 最大长度：255
            /// </summary>
            public string? MachinerySpec { get; set; }

            /// <summary>
            /// 设备类型ID
            /// </summary>
            public int? MachineryTypeId { get; set; }

            /// <summary>
            /// 报修日期
            /// </summary>
            public DateTime? RequireDate { get; set; }

            /// <summary>
            /// 维修完成日期
            /// </summary>
            public DateTime? FinishDate { get; set; }

            /// <summary>
            /// 确认日期
            /// </summary>
            public DateTime? ConfirmDate { get; set; }

            /// <summary>
            /// 维修结果
            /// 最大长度：64
            /// </summary>
            public string? RepairResult { get; set; }

            /// <summary>
            /// 维修人
            /// 最大长度：64
            /// </summary>
            public string? AcceptedBy { get; set; }

            /// <summary>
            /// 确认人
            /// 最大长度：64
            /// </summary>
            public string? ConfirmBy { get; set; }

            /// <summary>
            /// 单据状态
            /// 最大长度：64
            /// </summary>
            public string? Status { get; set; }

            /// <summary>
            /// 备注
            /// 最大长度：500
            /// </summary>
            public string? Remark { get; set; }

            /// <summary>
            /// 创建人
            /// 最大长度：64
            /// </summary>
            public string? CreateBy { get; set; }

            /// <summary>
            /// 创建时间
            /// </summary>
            public DateTime? CreateTime { get; set; }

            /// <summary>
            /// 更新人
            /// 最大长度：64
            /// </summary>
            public string? UpdateBy { get; set; }

            /// <summary>
            /// 更新时间
            /// </summary>
            public DateTime? UpdateTime { get; set; }
        }
}
